package com.geek.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//服务发现
@EnableDiscoveryClient
//动态刷新
@RefreshScope
@EnableFeignClients(basePackages = "com.geek.system.feignClient")
public class GeekUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(GeekUserApplication.class, args);
    }

}
